
let userInfo = localStorage.getItem('userInfo')
userInfo &&= JSON.parse(userInfo)

export const restate = {
  tabIdx:0,
  userInfo
}



export const change = (type,payload) => {
 restate[type] = payload
}